package cn.ym.mall.entity;

import java.io.Serializable;

/**
 * 会员等级表
 */
public class Grade implements Serializable {
    private Integer grid;// 等级编号
    private Double grdiscounts;// 折扣

    public Grade(){}

    public Grade(Integer grid, Double grdiscounts) {
        this.grid = grid;
        this.grdiscounts = grdiscounts;
    }

    public Integer getGrid() {
        return grid;
    }

    public void setGrid(Integer grid) {
        this.grid = grid;
    }

    public Double getGrdiscounts() {
        return grdiscounts;
    }

    public void setGrdiscounts(Double grdiscounts) {
        this.grdiscounts = grdiscounts;
    }

    @Override
    public String toString() {
        return "Grade{" +
                "grid=" + grid +
                ", grdiscounts=" + grdiscounts +
                '}';
    }
}
